#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet
# at http://www.illumos.org/license/CDDL.
#

#
# Copyright 2011, Richard Lowe
# Copyright 2018 Nexenta Systems, Inc.
# Copyright 2022 Garrett D'Amore
# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
# Copyright 2020 Joyent, Inc.
#

include		$(SRC)/Makefile.master

MANSECT=	1

MANFILES=	\
		adb.1				\
		addbib.1			\
		allocate.1			\
		amt.1				\
		appcert.1			\
		apptrace.1			\
		asa.1				\
		audioctl.1			\
		audiotest.1			\
		auths.1				\
		bdiff.1				\
		checknr.1			\
		ckdate.1			\
		ckgid.1				\
		ckint.1				\
		ckitem.1			\
		ckkeywd.1			\
		ckpath.1			\
		ckrange.1			\
		ckstr.1				\
		cktime.1			\
		ckuid.1				\
		ckyorn.1			\
		cputrack.1			\
		crle.1				\
		crypt.1				\
		ctfdiff.1			\
		ctfdump.1			\
		ctrun.1				\
		ctstat.1			\
		ctwatch.1			\
		deallocate.1			\
		demangle.1			\
		deroff.1			\
		dhcpinfo.1			\
		diffmk.1			\
		digest.1			\
		dircmp.1			\
		dis.1				\
		disown.1			\
		dispgid.1			\
		dispuid.1			\
		dump.1				\
		dumpcs.1			\
		eject.1				\
		elfdump.1			\
		elfsign.1			\
		elfwrap.1			\
		encrypt.1			\
		eqn.1				\
		etdump.1			\
		exec.1				\
		exit.1				\
		exstr.1				\
		filesync.1			\
		fmtmsg.1			\
		gcore.1				\
		gencat.1			\
		genmsg.1			\
		getconf.1			\
		getfacl.1			\
		getlabel.1			\
		getoptcvt.1			\
		gettxt.1			\
		getzonepath.1			\
		glob.1				\
		hash.1				\
		iconv.1				\
		indxbib.1			\
		ipcrm.1				\
		ipcs.1				\
		isainfo.1			\
		isalist.1			\
		kbd.1				\
		kmdb.1				\
		kmfcfg.1			\
		kvmstat.1			\
		lari.1				\
		ild.1				\
		ldd.1				\
		ld.so.1.1			\
		let.1				\
		lgrpinfo.1			\
		limit.1				\
		line.1				\
		list_devices.1			\
		listusers.1			\
		loadkeys.1			\
		locale.1			\
		localedef.1			\
		logout.1			\
		lookbib.1			\
		mac.1				\
		mach.1				\
		madv.so.1.1			\
		makekey.1			\
		mcs.1				\
		mdb.1				\
		mesg.1				\
		mkcsmapper.1			\
		mkesdb.1			\
		mkmsgs.1			\
		moe.1				\
		mpss.so.1.1			\
		newform.1			\
		news.1				\
		nroff.1				\
		optisa.1			\
		pack.1				\
		pagesize.1			\
		pargs.1				\
		pfexec.1			\
		pgrep.1				\
		pktool.1			\
		plabel.1			\
		plgrp.1				\
		plimit.1			\
		pmadvise.1			\
		pmap.1				\
		ppgsz.1				\
		ppriv.1				\
		prctl.1				\
		preap.1				\
		priocntl.1			\
		proc.1				\
		prof.1				\
		profiles.1			\
		projects.1			\
		ps.1				\
		psecflags.1			\
		ptree.1				\
		pvs.1				\
		rcapstat.1			\
		read.1				\
		readonly.1			\
		refer.1				\
		regcmp.1			\
		rev.1				\
		roffbib.1			\
		roles.1				\
		rpcgen.1			\
		runat.1				\
		rup.1				\
		ruptime.1			\
		rusers.1			\
		rwho.1				\
		script.1			\
		setfacl.1			\
		setlabel.1			\
		setpgrp.1			\
		soelim.1			\
		sortbib.1			\
		sotruss.1			\
		srchtxt.1			\
		strchg.1			\
		strip.1				\
		suspend.1			\
		svcprop.1			\
		svcs.1				\
		symorder.1			\
		sys-suspend.1			\
		tbl.1				\
		tcopy.1				\
		times.1				\
		tip.1				\
		trap.1				\
		troff.1				\
		truss.1				\
		type.1				\
		typeset.1			\
		uname.1				\
		unifdef.1			\
		vgrind.1			\
		vtfontcvt.1			\
		w.1				\
		wait.1				\
		whocalls.1			\
		xstr.1				\
		zlogin.1			\
		zonename.1			\
		zonestat.1

MANLINKS=	\
		checkeq.1	\
		decrypt.1	\
		dumpkeys.1	\
		errange.1	\
		errdate.1	\
		errgid.1	\
		errint.1	\
		erritem.1	\
		errpath.1	\
		errstr.1	\
		errtime.1	\
		erruid.1	\
		erryorn.1	\
		eval.1		\
		hashstat.1	\
		helpdate.1	\
		helpgid.1	\
		helpint.1	\
		helpitem.1	\
		helppath.1	\
		helprange.1	\
		helpstr.1	\
		helptime.1	\
		helpuid.1	\
		helpyorn.1	\
		hist.1		\
		ldapadd.1	\
		neqn.1		\
		pauxv.1		\
		pcat.1		\
		pcred.1		\
		penv.1		\
		pfcsh.1		\
		pfiles.1	\
		pflags.1	\
		pfsh.1		\
		pkill.1		\
		pldd.1		\
		popd.1		\
		prun.1		\
		psig.1		\
		pstack.1	\
		pstop.1		\
		ptime.1		\
		pushd.1		\
		pwait.1		\
		pwdx.1		\
		rehash.1	\
		strconf.1	\
		ulimit.1	\
		unhash.1	\
		unlimit.1	\
		unpack.1	\
		valdate.1	\
		valgid.1	\
		valint.1	\
		valpath.1	\
		valrange.1	\
		valstr.1	\
		valtime.1	\
		valuid.1	\
		valyorn.1	\
		whence.1

errdate.1	:= LINKSRC = ckdate.1
helpdate.1	:= LINKSRC = ckdate.1
valdate.1	:= LINKSRC = ckdate.1

errgid.1	:= LINKSRC = ckgid.1
helpgid.1	:= LINKSRC = ckgid.1
valgid.1	:= LINKSRC = ckgid.1

errint.1	:= LINKSRC = ckint.1
helpint.1	:= LINKSRC = ckint.1
valint.1	:= LINKSRC = ckint.1

erritem.1	:= LINKSRC = ckitem.1
helpitem.1	:= LINKSRC = ckitem.1

errpath.1	:= LINKSRC = ckpath.1
helppath.1	:= LINKSRC = ckpath.1
valpath.1	:= LINKSRC = ckpath.1

errange.1	:= LINKSRC = ckrange.1
helprange.1	:= LINKSRC = ckrange.1
valrange.1	:= LINKSRC = ckrange.1

errstr.1	:= LINKSRC = ckstr.1
helpstr.1	:= LINKSRC = ckstr.1
valstr.1	:= LINKSRC = ckstr.1

errtime.1	:= LINKSRC = cktime.1
helptime.1	:= LINKSRC = cktime.1
valtime.1	:= LINKSRC = cktime.1

erruid.1	:= LINKSRC = ckuid.1
helpuid.1	:= LINKSRC = ckuid.1
valuid.1	:= LINKSRC = ckuid.1

erryorn.1	:= LINKSRC = ckyorn.1
helpyorn.1	:= LINKSRC = ckyorn.1
valyorn.1	:= LINKSRC = ckyorn.1

disable.1	:= LINKSRC = enable.1

decrypt.1	:= LINKSRC = encrypt.1

checkeq.1	:= LINKSRC = eqn.1
neqn.1		:= LINKSRC = eqn.1

eval.1		:= LINKSRC = exec.1

hashstat.1	:= LINKSRC = hash.1
rehash.1	:= LINKSRC = hash.1
unhash.1	:= LINKSRC = hash.1

ulimit.1	:= LINKSRC = limit.1
unlimit.1	:= LINKSRC = limit.1

dumpkeys.1	:= LINKSRC = loadkeys.1

pcat.1		:= LINKSRC = pack.1
unpack.1	:= LINKSRC = pack.1

pauxv.1		:= LINKSRC = pargs.1
penv.1		:= LINKSRC = pargs.1

pfcsh.1		:= LINKSRC = pfexec.1
pfksh.1		:= LINKSRC = pfexec.1
pfsh.1		:= LINKSRC = pfexec.1

pkill.1		:= LINKSRC = pgrep.1

pcred.1		:= LINKSRC = proc.1
pfiles.1	:= LINKSRC = proc.1
pflags.1	:= LINKSRC = proc.1
pldd.1		:= LINKSRC = proc.1
prun.1		:= LINKSRC = proc.1
psig.1		:= LINKSRC = proc.1
pstack.1	:= LINKSRC = proc.1
pstop.1		:= LINKSRC = proc.1
ptime.1		:= LINKSRC = proc.1
pwait.1		:= LINKSRC = proc.1
pwdx.1		:= LINKSRC = proc.1

strconf.1	:= LINKSRC = strchg.1

whence.1	:= LINKSRC = typeset.1

.KEEP_STATE:

include		$(SRC)/man/Makefile.man

install:	installman .WAIT $(ROOTMANLINKS)
